// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import VueLazyLoad from 'vue-lazyload'
import store from './store'

import fastclick from "fastclick"
import './common/stylus/index.styl'

/* eslint-disable no-unused-vars */
import vConsole from 'vconsole'

console.log('hello world')

Vue.config.productionTip = false

fastclick.attach(document.body)//all click no 300ms late

Vue.use(VueLazyLoad, {
  loading:require('./common/image/default.png')
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  store,
  router
})
